package top.continew.admin.generator.controller;

import top.continew.starter.extension.crud.enums.Api;

import io.swagger.v3.oas.annotations.tags.Tag;

import org.springframework.web.bind.annotation.*;

import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import top.continew.admin.common.controller.BaseController;
import top.continew.admin.generator.model.query.ProvinceDivisionsQuery;
import top.continew.admin.generator.model.req.ProvinceDivisionsReq;
import top.continew.admin.generator.model.resp.ProvinceDivisionsDetailResp;
import top.continew.admin.generator.model.resp.ProvinceDivisionsResp;
import top.continew.admin.generator.service.ProvinceDivisionsService;

/**
 * 省区信息管理 API
 *
 * @author jiangjun
 * @since 2025/06/24 10:40
 */
@Tag(name = "省区信息管理 API")
@RestController
@CrudRequestMapping(value = "/generator/provinceDivisions", api = {Api.PAGE, Api.GET, Api.CREATE, Api.UPDATE, Api.DELETE, Api.EXPORT})
public class ProvinceDivisionsController extends BaseController<ProvinceDivisionsService, ProvinceDivisionsResp, ProvinceDivisionsDetailResp, ProvinceDivisionsQuery, ProvinceDivisionsReq> {}